package com.weixstudio.designmode.builder.demo_1;

/**
 * @ClassName HeroBuilder
 * @Description TODO
 * @Author liangw
 * @Date 2022/4/25 22:37
 * @Version 1.0
 **/
public class HeroBuilder  extends ActorBuilder {


    @Override
    public void bulidType() {
        actor.setType("英雄");
    }

    @Override
    public void buildSex() {
        actor.setSex("男");
    }

    @Override
    public void buildFace() {
       actor.setFace("英俊");
    }

    @Override
    public void buildCostume() {
        actor.setCostume("盔甲");
    }

    @Override
    public void buildHairstyle() {
         actor.setHairstyle("飘逸");
    }
}
